-- GENERATED SPELL FOR [Overseer Jhaeqon] --


function spell0_32285(pUnit, Event) --@Shadow Bolt,n/a--
pUnit:FullCastSpellOnTarget(12471,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32285', 3000, 1)
end

function Sorts_32285(pUnit, Event)
local choix_sorts_32285 = math.random(0, 0)
if choix_sorts_32285 == 0 then
pUnit:RegisterEvent('spell0_32285', 1, 1)
end
end

function mob32285_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32285', math.random(1500, 3000), 1)
end

function mob32285_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32285_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32285_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32285, 1, 'mob32285_Action')
RegisterUnitEvent(32285, 2, 'mob32285_Leave')
RegisterUnitEvent(32285, 3, 'mob32285_Kill')
RegisterUnitEvent(32285, 4, 'mob32285_Die')
